class Solution {
public:
    int translate(const string& s1)
    {
        int num = s1.length();
        int n = 0;
        for (int i = 0; i < num; i++)
        {
            n = n * 10 + int(s1[i] - '0');
        }
        return n;

    }
    string addStrings(string num1, string num2)
    {
        int i = translate(num1);
        int j = translate(num2);
        int num = i + j;
        string ch = to_string(num);
        return ch;
    }
};